{template header}
<div class="path">
	<span>用户管理</span>
	<span><a href="user-create.htm">创建用户</a></span>
</div>
<div class="content">
	<div class="c1">
	<div style="border:1px #B9D1E3 solid; background:#FFFFFF">
	<form action="user-admin.htm" method="POST">
		<table width="100%" cellspacing="5" cellpadding="5">
			<tr>
				<td width="102" align="right">用户名：</td>
				<td width="200"><input type="text" name="userName" value="$userName" /></td>
				<td width="68">姓名：</td>
				<td width="189"><input type="text" name="realName" value="$realName" /></td>
				<td width="122">
					<select name="groupId">
						<option value="">请选择用户组</option>
						<!--{loop $groupList $v}-->
						<option value="$v[groupId]" {if $groupId==$v[groupId]}selected="selected"{/if}>$v[groupName]</option>
						<!--{/loop}-->
					</select>				</td>
				<td width="537" align="left"><input type="submit" name="submitTo_search" value=" 搜 索 " class="bigButton" /></td>
			</tr>
		</table>
	</form>
	</div>
	<form action="user-delete.htm" method="post">
	      <table width="100%" border="0" cellspacing="1" cellpadding="2" class="table1" style="margin-top:10px; text-align:center">
	        <tr>
	          <th width="10%">用户名</th>
	          <th width="8%">姓名</th>
	          <th width="8%">手机</th>
	          <th width="11%">地区</th>
	          <th width="9%">会员等级</th>
	          <th width="8%">订单量</th>
	          <th width="8%">状态</th>
	          <th width="10%">注册时间</th>
	          <th width="10%">公司名称</th>
	          <th width="9%">所属</th>
	          <th width="9%">操作</th>
	          </tr>
		<!--{loop $userList $v}-->
		<tr>
		<td>{$v[userName]}</td>
		<td>{$v[realName]}</td>
		<td>{$v[mobile]}</td>
		<td>{$v[area]}</td>
		<td>{$v[group]}</td>
		<!-- <td>{$v[credit]}</td> -->
		<td>{$v[amounts]}</td>
		<td>{$v[statusText]}</td>
		<td>{$v[createdTime2]}</td>
		<td>{$v[company]}</td>
		<td>{$v[parentName]}</td>
		<td>
			<!--{if $v[status]==GODHOUSE_STATUS_UNVERIFIED || $v[status]==GODHOUSE_STATUS_PAUSED}-->
			<a href="user-audit-{$v[userId]}-{GODHOUSE_STATUS_VERIFIED}.htm">审核</a>
			<!--{/if}-->
			<!--{if $v[status]==GODHOUSE_STATUS_VERIFIED}-->
			<a href="user-audit-{$v[userId]}-{GODHOUSE_STATUS_PAUSED}.htm">暂停</a>
			<!--{/if}-->
			<a href="user-update-{$v[userId]}.htm">编辑</a>
			<a href="user-delete-{$v[userId]}.htm" onclick="if(confirm('删除后，将不可恢复！你是否真的需要删除？')){return true;}else{return false;}">删除</a>		</td>
		</tr>
		<!--{/loop}-->
		<tr>
			<td colspan="11">$multipage</td>
		</tr>
	      </table>
      </form>
	</div>
</div>
{template footer}